﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HotelManagement.Class
{
    public class CreditCard
    {
        private string cardNum;
        private string cardHolderName;
        private string type;
        private DateTime expiryDate;
        private int guestID;

        public CreditCard()
        {
        }

        public CreditCard(string cardNum, string cardHolderName,string type, DateTime expiryDate, int guestID)
        {
            this.cardNum = cardNum;
            this.cardHolderName = cardHolderName;
            this.type = type;
            this.expiryDate = expiryDate;
            this.guestID = guestID;
        }

        public string CardNum
        {
            get { return cardNum; }
            set { cardNum = value; }
        }

        public string CardHolderName
        {
            get { return cardHolderName; }
            set { cardHolderName = value; }
        }

        public string Type
        {
            get { return type; }
            set { type = value; }
        }

        public DateTime ExpiryDate
        {
            get { return expiryDate; }
            set { expiryDate = value; }
        }

        public int GuestID
        {
            get { return guestID; }
            set { guestID = value; }
        }
    }

}